home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Computers
/
Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso
/
commercial
/
inovatronics
/
edgedemo
/
edgeeditor
/
rexx
/
menu_playmdefmac.edge
< prev
next >
Wrap
Text File
|
1994-11-17
|
706b
|
37 lines
/*
** $VER: Menu_PlayMDefMac.edge 1.3 (Thursday 11-Nov-93 19:17:19)
**
** Playback the default macro till it returns an error
**
** Written by Thomas liljetoft & Inovatronics
*/
options results
/* check to see if it exists */
if exists('ram:edge.macro') then do
/* put edge to sleep */
disableuser
/* increase the error watermark */
'putenvvar _WE_ErrorLevel 6'
/* loop N times */
do forever
'ram:edge.macro'
if result='RESULT' then nop
else if result~=0 then leave
/* check to see if the user want's to give up yet */
checkabort
if rc~=0 then leave
end
/* wake edge back up */
enableuser
end
/* if not then complain */
else 'requestnotify "There is no default macro."'